package com.security.filter.conf;

import javax.servlet.*;
import java.io.IOException;

/**
 * @Classname LoginFilter
 * @Description 自定义过滤器
 * @Date 2020/4/21 0021 17:15
 * @Created by 埔枘
 */
public class LoginFilter2 extends GenericFilter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("this is my filter2.");
        // 继续调用 Filter 链
        filterChain.doFilter(servletRequest, servletResponse);
    }
}
